package com.plian.system.vo.sys;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "登录信息")
public class LoginInfoVO {

    @ApiModelProperty(value = "token")
    private String token;

    @ApiModelProperty(value = "longToken")
    private String longToken;

    @ApiModelProperty(value = "管理员:0;国资:1；领导2；企业3；默认3")
    private String type;

    @ApiModelProperty(value = "用户名称")
    private String username;

    @ApiModelProperty(value = "是否初始化密码 1是2否")
    private String isInitialPassword;

    @ApiModelProperty(value = "国资委id")
    private String gzwId;

    @ApiModelProperty(value = "是否市国资委 0否1是")
    private Integer isGzw;

    @ApiModelProperty(value = "该组织是否市国资委下 1否2是")
    private Integer gzwFlag;

    @ApiModelProperty(value = "是否考核 0否1是")
    private Integer isAssess;

    @ApiModelProperty(value = "是否财管处 0否1是")
    private Integer isCgc;

    @ApiModelProperty(value = "用户组织关系")
    private List<UserOrgVO> list;

}
